package com.demo.hystrix.client;

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "QA-CORE",fallback=FallbackService.class)
public interface SearchApiService {
    @GetMapping("/queryAllQuestion")
    Result queryAllQuestion();
}
